<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <form class="well form-inline margin-top-20" method="post" action="{:url('user/adminIndex/coin')}">
        <a class="btn btn-success" href="{:url('user/adminIndex/coin_change',array('user_id'=>input('user_id')))}">变更推广金</a>
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>ID</th>
                <th>数值</th>
                <th>变更后余额</th>
                <th>途经</th>
                <th>备注</th>
                <th>创建时间</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.change}</td>
                    <td>{$vo.coin}</td>
                    <td>{$vo.description}</td>
                    <td>{$vo.remark}</td>
                    <td>{:date('Y-m-d H:i:s',$vo.create_time)}</td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>